package com.hfzy.ihk.web.ivr.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.hfzy.ihk.facade.ivr.service.FreeswitchAsrCallService;
import com.hfzy.ihk.web.ivr.biz.ClickCallBiz;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.Map;

/**
 * Created by Administrator on 2019/6/12.
 */
@Service(version = "1.0.0")
public class FreeswitchAsrCallServiceImpl implements FreeswitchAsrCallService{

    @Autowired
    ClickCallBiz clickCallBiz;

    @Override
    public Map<String, String> handleClickCallWebSocket(String mainCallPhone, String machineFrom, String createUserId,
                                                        String createUserNo, String dataId, String whereFrom,
                                                        String pageFrom, String mainCallType, String commitTo, String city,
                                                        String customerName, String showNum, String project,
                                                        String propertyNo, String objectId, String sessionId,
                                                        String callTaskId, String packageId, String packageName,
                                                        String voiceCode,String voiceText) {

        return clickCallBiz.handleClickCallWebSocket(mainCallPhone,machineFrom,createUserId,createUserNo,dataId,whereFrom,
                pageFrom,mainCallType,commitTo,city,customerName,project,propertyNo,objectId,sessionId, callTaskId,packageId,packageName,voiceCode,voiceText);
    }
}
